#ifndef MESSAGEDIALOG_H
#define MESSAGEDIALOG_H

#include <QWidget>

namespace Ui {
class MessageDialog;
}

class MessageDialog : public QWidget
{
    Q_OBJECT
    
public:
    explicit MessageDialog(QWidget *parent = 0);
    ~MessageDialog();
    void setTxt(QString str);
protected:
    bool eventFilter(QObject *o, QEvent *e);

private slots:
    void on_pushButton_pressed();

private:
    Ui::MessageDialog *ui;
};

#endif // MESSAGEDIALOG_H
